<?php
require 'basehandle.php';
require '../dao/userdao.php';

class Overcheck implements basehandle{
	public function dohandle(){
		$mission=$_POST['mission'];
		$userid=$_POST['luid'];
		$dao=new userdao();
 		$rs=$dao->misscheck($mission,$userid);
 		//var_dump($rs);
		if(empty($rs)){
			$info=array("rs"=>"success",
				"successinf"=>"成功");
		}
		else{
			$info=array("rs"=>"error","errorinf"=>"失败");
		}
		echo json_encode($info);
	}
	
}  
?>